############################
## EEP RUS Croatia events ##
##	by ROMENA	  ##
############################

#The Death of King Lajos of Hungary# 
event = { 

	id = 93202
	trigger = { 
			exists = SIE 
			exists = HAB 
	} 
	random = no 
	country = CRO 
	name = "EVENTNAME93202" 
	desc = "EVENTHIST93202" 
	style = 2 

	date = { day = 28 month = august year = 1526 } 
	offset = 0 
	deathdate = { day = 29 month = august year = 1526 } 

	action_a = { #Elect Johan Zapolya of Siebenbrgen# 
			name = "ACTIONNAME3639A" 
			command = { type = trigger which = 93204 } 
			command = { type = trigger which = 93208 } 
			command = { type = dynastic which = SIE } 
			command = { type = alliance which = SIE } 
			command = { type = stability value = -4 } 
			command = { type = secedeprovince which = HAB value = 367 } 
			command = { type = sleepmonarch which = 19737 }
			command = { type = wakemonarch which = 19708 } 
			command = { type = sleepmonarch which = 19717 }
			command = { type = sleepmonarch which = 19718 }
			command = { type = sleepmonarch which = 19719 }
			command = { type = sleepmonarch which = 19720 }
			command = { type = sleepmonarch which = 19722 }
			command = { type = wakemonarch which = 19738 }
			command = { type = wakemonarch which = 19739 }
			command = { type = wakemonarch which = 19740 }
			command = { type = wakemonarch which = 19741 }
			command = { type = wakemonarch which = 19742 }
			command = { type = wakemonarch which = 19743 }
			command = { type = wakemonarch which = 19744 }
			command = { type = wakemonarch which = 19745 }
			command = { type = wakemonarch which = 19746 }
			command = { type = wakemonarch which = 19747 }
	} 
	action_b = { #Elect Ferdinand Habsburg of Austria# 
			name = "ACTIONNAME3639B" 
			command = { type = trigger which = 93205 } 
			command = { type = trigger which = 93209 } 
			command = { type = dynastic which = HAB } 
			command = { type = alliance which = HAB } 
			command = { type = stability value = -4 } 
	} 
} 

#The Death of Johan Zapolya# 
event = { 

	id = 93203 
	trigger = { 
			exists = HAB 
			exists = SIE 
			event = 93204 
	} 
	random = no 
	country = CRO 
	name = "EVENTNAME93203" 
	desc = "EVENTHIST93203" 
	style = 2 

	date = { day = 21 month = july year = 1540 } 
	offset = 0 
	deathdate = { day = 22 month = july year = 1540 } 

	action_a = { #Let the crown become hereditary within the Habsburg Dynasty# 
			name = "ACTIONNAME93203A" 
			command = { type = trigger which = 93210 } 
	} 
	action_b = { #Let the crown become hereditary within the Siebenbrgen Dynasty# 
			name = "ACTIONNAME93203B" 
			command = { type = trigger which = 93207 } 
			command = { type = stability value = 3 } 
			command = { type = relation which = HAB value = -150 } 
			command = { type = relation which = SIE value = 150 } 
			command = { type = dynastic which = SIE } 
			command = { type = alliance which = SIE } 
	} 
} 

#The Death of King Lajos of Hungary# #SIE# 
event = { 

	id = 93204 
	random = no 
	country = SIE 
	name = "EVENTNAME93202" 
	desc = "EVENTHIST93204" 
	style = 2 
	
	action_a = { #I will be crowned King of Croatia# 
			name = "ACTIONNAME3644A" 
			command = { type = vassal which = CRO } 
			command = { type = relation which = CRO value = 150 } 
			command = { type = relation which = HAB value = -150 } 
			command = { type = stability value = 1 } 
	} 
} 

#The Death of King Lajos of Hungary# 
event = { 

	id = 93205
	random = no 
	country = SIE 
	name = "EVENTNAME93202" 
	desc = "EVENTHIST93205" 
	style = 2 

	action_a = { #No! It is mine!# 
			name = "ACTIONNAME93205A" 
			command = { type = alliance which = TUR } 
			command = { type = relation which = TUR value = 200 } 
			command = { type = relation which = HAB value = -150 } 
			command = { type = casusbelli which = CRO value = 36 } 
			command = { type = casusbelli which = HAB value = 36 } 
	} 
	action_b = { #Let him have it# 
			name = "ACTIONNAME93205B" 
			command = { type = relation which = CRO value = 100 } 
			command = { type = relation which = TUR value = 100 } 
			command = { type = relation which = HAB value = 100 } 
	} 
} 

#The Zapolya Inheritance of Croatia# 
event = { 

	id = 93206 
	trigger = { 
			exists = CRO 
			NOT = { 
				exists = HAB 
			} 
	} 
	random = no 
	country = SIE 
	name = "EVENTNAME93206" 
	desc = "EVENTHIST93206" 
	style = 2 

	date = { day = 28 month = august year = 1526 } 
	offset = 0 
	deathdate = { day = 29 month = august year = 1526 } 

	action_a = { #Outstanding!# 
			name = "ACTIONNAME93206A" 
			command = { type = inherit which = CRO } 
			command = { type = stability value = 1 } 
			command = { type = domestic which = CENTRALIZATION value = -1 } 
			command = { type = addcore which = 366 } 
			command = { type = addcore which = 367 } 
			command = { type = addcore which = 368 } 
	} 
} 

#The Death of Johan Zapolya# 
event = { 

	id = 93207 
	random = no 
	country = SIE 
	name = "EVENTNAME93203" 
	desc = "EVENTHIST93207" 
	style = 2 

	action_a = { #I will become King of Hungary# 
			name = "ACTIONNAME93207A" 
			command = { type = vassal which = CRO } 
			command = { type = relation which = CRO value = 150 } 
			command = { type = relation which = TUR value = 150 } 
			command = { type = relation which = HAB value = -150 } 
			command = { type = stability value = 1 } 
	} 
} 

#The Habsburg Inheritance of Croatia# #Only Heir# 
event = { 

	id = 93211 
	trigger = { 
			exists = HUN 
			NOT = { 
				exists = SIE 
			} 
	} 
	random = no 
	country = HAB 
	name = "EVENTNAME93211" 
	desc = "EVENTHIST93211" 
	style = 2 
	
	date = { day = 28 month = august year = 1526 } 
	offset = 0 
	deathdate = { day = 29 month = august year = 1526 } 

	action_a = { #Magnificient!# 
			name = "ACTIONNAME93206A" 
			command = { type = inherit which = CRO } 
			command = { type = stability value = 3 } 
			command = { type = domestic which = CENTRALIZATION value = -1 } 
			command = { type = addcore which = 366 } 
			command = { type = addcore which = 367 } 
			command = { type = relation which = VEN value = -100 } 
	} 
} 

#The Habsburg Inheritance of Hungary# #Habsburg# 
event = { 

	id = 93209 
	random = no 
	country = HAB 
	name = "EVENTNAME93211" 
	desc = "EVENTHIST93209" 
	style = 2 

	action_a = { #I will be crowned King of Croatia# 
			name = "ACTIONNAME93207A" 
			command = { type = vassal which = CRO } 
			command = { type = relation which = CRO value = 150 } 
			command = { type = relation which = TUR value = -200 } 
			command = { type = relation which = SIE value = -150 } 
			command = { type = relation which = VEN value = -100 } 
			command = { type = stability value = 1 } 
	} 
} 

#The Habsburg Inheritance of Croatia# #Zapolya# 
event = { 

	id = 93208 
	random = no 
	country = HAB 
	name = "EVENTNAME93211" 
	desc = "EVENTHIST93208" 
	style = 2 

	action_a = { #No! It is mine!# 
			name = "ACTIONNAME93205A" 
			command = { type = relation which = TUR value = -200 } 
			command = { type = relation which = SIE value = -150 } 
			command = { type = relation which = CRO value = -150 } 
			command = { type = casusbelli which = CRO value = 36 } 
			command = { type = casusbelli which = SIE value = 36 } 
			command = { type = addcore which = 366 } 
			command = { type = addcore which = 367 } 
	} 
	action_b = { #Let him have it# 
			name = "ACTIONNAME93205B" 
			command = { type = relation which = CRO value = 100 } 
			command = { type = relation which = TUR value = 50 } 
			command = { type = relation which = SIE value = 100 } 
	} 
} 

#The Death of Johan Zapolya# 
event = { 

	id = 93210
	random = no 
	country = HAB 
	name = "EVENTNAME93203" 
	desc = "EVENTHIST93210" 
	style = 2 

	action_a = { #I will become King of Croatia# 
			name = "ACTIONNAME93207A" 
			command = { type = inherit which = CRO } 
			command = { type = stability value = 1 } 
			command = { type = domestic which = CENTRALIZATION value = -1 } 
			command = { type = addcore which = 367 } 
			command = { type = addcore which = 366 } 
			command = { type = relation which = VEN value = -100 } 
	} 
} 

#      # 

# Military border #
event = { 

	id = 93212
	random = no 
	country = CRO 
	name = "EVENTNAME93212" 
	desc = "EVENTHIST93212" 
	style = 2 

	date = { day = 1 month = january year = 1546 } 
	offset = 400 
	deathdate = { day = 1 month = january year = 1566 } 

	action_a = { 
			name = "ACTIONNAME93212A" 
			command = { type = fortress which = 366 value = 1} 
			command = { type = fortress which = 367 value = 1 } 
			command = { type = stability value = -1 } 
			command = { type = domestic which = offensive value = -1 } 
			command = { type = domestic which = quality value = -1 } 
			command = { type = treasury value = -250} 
	} 
	action_b = { 
			name = "ACTIONNAME93212B" 
			command = { type = land value = 300 } 
			command = { type = treasury value = -300 } 
			command = { type = INF which = -1 value = 10000 } 
	} 
} 

# Zrinsky conspiracy #
event = { 

	id = 93213 
	trigger = { 
			vassal = { country = HAB country = CRO } 
	} 
	random = no 
	country = CRO 
	name = "EVENTNAME93213" 
	desc = "EVENTHIST93213" 
	style = 3 

	date = { day = 23 month = april year = 1666 } 
	offset = 40 
	deathdate = { day = 1 month = january year = 1674 } 

	action_a = { 
			name = "ACTIONNAME93213A" 
			command = { type = stability value = -2 } 
			command = { type = revolt which = 367 } 
	} 
	action_b = { 
			name = "ACTIONNAME93213B" 
			command = {type = stability value = -1 } 
			command = { type = domestic which = centralization value = -1 } 
			command = { type = domestic which = aristocracy value = 1 } 
	} 
} 

# Slavonic Urbarium #
event = { 

	id = 93214
	random = no 
	country = CRO 
	name = "EVENTNAME93214" 
	desc = "EVENTHIST93214" 
	style = 4 

	date = { day = 3 month = may year = 1754 } 
	offset = 500 
	deathdate = { day = 1 month = october year = 1780 } 

	action_a = { 
			name = "ACTIONNAME93214A" 
			command = { type = stability value = -1 } 
			command = { type = domestic which = serfdom value = -1 } 
	} 
	action_b = { 
			name = "ACTIONNAME93214B" 
			command = { type = domestic which = serfdom value = 1 } 
			command = { type = domestic which = innovative value = -1 } 
	} 
	action_c = { 
			name = "ACTIONNAME93214C" 
			command = { type = domestic which = serfdom value = -2 } 
			command = { type = domestic which = innovative value = 1 } 
			command = { type = stability value = -3 } 
	} 
}

###################
#A FEW MORE EVENTS#
# Chimera - Kelvin#
###################

#Duo Plorantes Saecula Croatiae#
event = {

	id = 93215
	trigger = {
			owned = { province = 364 data = TUR } # Bosnia
	}
	random = no
	country = CRO
	name = "EVENTNAME93215"
	desc = "EVENTHIST93215"
	style = 1

	date = { day = 1 month = january year = 1453 }
	offset = 120
	deathdate = { day = 1 month = january year = 1700 }

	action_a =	{		#God help us#
			name = "ACTIONNAME93215A"
			command = { type = relation which = PAP value = 150 }
			command = { type = relation which = HAB value = 150 }
			command = { type = relation which = SPA value = 150 }
			command = { type = relation which = TUR value = -200 }
			command = { type = manpower value = 10 } #IB lowered from 30
			command = { type = land value = 300 }
			command = { type = infra value = -200 }
			command = { type = trade value = -200 }
	}
}

#Battle of Krbava#
event = {
	
	id = 93216
	trigger = {
			event = 93215
			owned = { province = 364 data = TUR } # Bosnia
	}
	random = no
	country = CRO
	name = "EVENTNAME93216"
	desc = "EVENTHIST93216"
	style = 1

	date = { day = 9 month = september year = 1493 }

	action_a = {		#Oh no!#
			name = "ACTIONNAME93216A"
			command = { type = desertion which = -1 value = 8000 }
			command = { type = domestic which = CENTRALIZATION value = -3 }
			command = { type = stability value = -2 }
	}
}


#Antemurale Christianitatis#
event = {

	id = 93217
	trigger = {
			event = 93215
			neighbour = TUR
	}
	random = no
	country = CRO
	name = "EVENTNAME93217"
	desc = "EVENTHIST93217"
	style = 2

	date = { day = 1 month = january year = 1519 }

	action_a = {		#Help received#
			name = "ACTIONNAME93217A"
			command = { type = manpower value = 20 } #IB lowered from 30
			command = { type = treasury value = 100 } #IB lowered from 400
			command = { type = relation which = PAP value = 200 }
			command = { type = relation which = HAB value = 100 }
			command = { type = relation which = SPA value = 100 }
			command = { type = INF which = -2 value = 5000 }
			command = { type = CAV which = -2 value = 1000 }
			command = { type = ART which = -2 value = 10 }
	}
}

#The Peasants' Uprising of 1573#
event = {

	id = 93218
	random = no
	country = CRO
	name = "EVENTNAME93218"
	desc = "EVENTHIST93218"
	style = 2

	date = { day = 1 month = january year = 1524 }
	offset = 60
	deathdate = { day = 1 month = january year = 1526 }

	action_a = {				#Ignore the peasants' demands#
			name = "ACTIONNAME93218A"
			command = { type = domestic which = CENTRALIZATION value = 1 }
			command = { type = revoltrisk which = 18 value = 6 }
			command = { type = land value = 500 }
			command = { type = stability value = -3 }
	}
	action_b = {				#Compromise#
			name = "ACTIONNAME93218B"
			command = { type = stability value = -1 }
			command = { type = domestic which = SERFDOM value = -1 }
	}
	action_c = {				#Give into the peasants' demands#
			name = "ACTIONNAME93218C"
			command = { type = domestic which = CENTRALIZATION value = -2 }
			command = { type = domestic which = SERFDOM value = -2 }
			command = { type = stability value = 1 }
			command = { type = INF which = -2 value = 7000 }
			command = { type = CAV which = -2 value = 3000 }
			command = { type = provincetax which = 366 value = -1 }
			command = { type = provincetax which = 367 value = -1 }
	}
}

##############
#Uskok Events#
#Isaac Brock #
##############

#Uskok Piracy#
event = {

        id = 93219
        trigger = {
			exists = TUR
			NOT = { 
				OR = {
					vassal = { country = HAB country = VEN } 
					vassal = { country = VEN country = HAB } 
				}
			}
			neighbour = HAB #needed?
			OR = {
				owned = { province = 365 data = HAB }
				owned = { province = 366 data = HAB }
				owned = { province = 367 data = HAB }
				owned = { province = 368 data = HAB }
				owned = { province = 369 data = HAB }
			}	
			NOT = { event = 93224 } #HUN version
			NOT = { event = 93222 } #CRO version
		}
          random = no
          country = VEN
          name = "EVENTNAME93219"
          desc = "EVENTHIST93219"
          style = 3

          date = { day = 1 month = january year = 1614 }
	    offset = 200
          deathdate = { day = 1 month = january year = 1616 }

          action_a = {
                		name = "ACTIONNAME93219A"
				command = { type = relation which = TUR value = 50 }
				command = { type = relation which = HAB value = -200 }
				command = { type = relation which = SAV value = 30 }
				command = { type = relation which = FRA value = 30 }
				command = { type = relation which = SPA value = -30 }
				command = { type = relation which = NAP value = -30 }
				command = { type = relation which = MAN value = -30 }
				command = { type = casusbelli which = HAB value = 36 }
				command = { type = stability value = -1 }
				command = { type = revolt which = 368 } #Senj is in Istria Province
				command = { type = revolt which = 368 }
          }
          action_b = {
     		           name = "ACTIONNAME93219B"
				command = { type = relation which = TUR value = -200 }
				command = { type = relation which = HAB value = 50 }
				command = { type = trade value = -1000 }
				command = { type = treasury value = -100 }  #Not enough to bankrupt them
				command = { type = inflation value = 5 }  #bad for trade
				command = { type = merchants value = -2 } #can this go negative??
				command = { type = sleepevent which = 93220 }
          }
}

#Protestant Aid#
event = {

          id = 93220
          trigger = {
			OR = {
				AND = { #HAB sequence
					event = 93219
					war   = { country = VEN country = HAB }
					}
				AND = { #CRO sequence
					event = 93222
					war   = { country = VEN country = CRO }
					}
				AND = { #HUN sequence
					event = 93224
					war   = { country = VEN country = HUN }
					}
			}
		}	
          random = no
          country = VEN
          name = "EVENTNAME93220"
          desc = "EVENTHIST93220"
          style = 3

          date = { day = 1 month = january year = 1614 }
          deathdate = { day = 1 month = january year = 1616 }

          action_a = {
	                  name = "ACTIONNAME93220A"
				command = { type = relation which = HOL value = 30 }
				command = { type = relation which = ENG value = 30 }
				command = { type = warships which = -2 value = 10 }
				command = { type = INF which = -2 value = 5000 }
          }
}

#The Uskok resettlement#
event = {

          id = 93221
          trigger = {
			event = 93220 #Venice declared war
			event = 93219 #first event was vs HAB
			NOT = {war = { country = VEN country = HAB } } #war is over
			OR = { 	
				owned = { province = 368 data = VEN }	#Istria	
			 	owned = { province = 365 data = VEN }	#Dalmatia	
				}
		}
          random = no
          country = HAB
          name = "EVENTNAME93221"
          desc = "EVENTHIST93221"
          style = 3

          date = { day = 1 month = january year = 1614 }
          deathdate = { day = 1 month = january year = 1622 }

          action_a = {
      	            name = "ACTIONNAME93221A"
				command = { type = provincemanpower which = 366 value = 2 } #Croatia
				command = { type = relation which = VEN value = 50 }
				command = { type = relation which = TUR value = 30 }
				command = { type = manpower value = -5 }
				command = { type = desertion which = -1 value = 3000 }
				command = { type = naval value = -500 }
         }
}

#Uskok Piracy#
event = {

          id = 93222
          trigger = {
			exists = TUR
			NOT = { 
				OR = {
					vassal = { country = CRO country = VEN } 
					vassal = { country = VEN country = CRO } 
				}
			}
			neighbour = CRO #needed?
			OR = {
				owned = { province = 365 data = CRO }
				owned = { province = 366 data = CRO }
				owned = { province = 367 data = CRO }
				owned = { province = 368 data = CRO }
				owned = { province = 369 data = CRO }
			}	
			NOT = {
				OR = {
					owned = { province = 365 data = HAB }
					owned = { province = 366 data = HAB }
					owned = { province = 367 data = HAB }
					owned = { province = 368 data = HAB }
					owned = { province = 369 data = HAB }
				}
			}	
			NOT = { event = 93219 }
			NOT = { event = 93224 }
		}
          random = no
          country = VEN
          name = "EVENTNAME93219"
          desc = "EVENTHIST93222"
          style = 3

          date = { day = 1 month = january year = 1614 }
	    offset = 200
          deathdate = { day = 1 month = january year = 1616 }

          action_a = {
	                  name = "ACTIONNAME93222A"
				command = { type = relation which = TUR value = 50 }
				command = { type = relation which = CRO value = -200 }
				command = { type = relation which = SAV value = 30 }
				command = { type = relation which = FRA value = 30 }
				command = { type = relation which = SPA value = -30 }
				command = { type = relation which = NAP value = -30 }
				command = { type = relation which = MAN value = -30 }
				command = { type = casusbelli which = CRO value = 36 }
				command = { type = stability value = -1 }
				command = { type = revolt which = 368 } #Senj is in Istria Province
				command = { type = revolt which = 368 }
         }
          action_b = {
	            	name = "ACTIONNAME93222B"
				command = { type = relation which = TUR value = -200 }
				command = { type = relation which = CRO value = 50 }
				command = { type = trade value = -1000 }
				command = { type = treasury value = -100 }  #Not enough to bankrupt them
				command = { type = inflation value = 5 }  #bad for trade
				command = { type = merchants value = -2 } #can this go negative??
				command = { type = sleepevent which = 93220 }
         }
}

#The Uskok resettlement#
event = {

          id = 93223
          trigger = {
			event = 93222 #CRO target of uskok event
			event = 93220 #VEN declared war
			NOT = { war = { country = VEN country = CRO } }
			OR = { 	
				owned = { province = 368 data = VEN }	#Istria	
			 	owned = { province = 365 data = VEN }	#Dalmatia	
				}
		}
          random = no
          country = CRO
          name = "EVENTNAME93221"
          desc = "EVENTHIST93223"
          style = 3

          date = { day = 1 month = january year = 1614 }
          deathdate = { day = 1 month = january year = 1622 }

          action_a = {
                        name = "ACTIONNAME93221A"
				command = { type = provincemanpower which = 366 value = 2 } #Croatia
				command = { type = relation which = VEN value = 50 }
				command = { type = relation which = TUR value = 30 }
				command = { type = manpower value = -5 }
				command = { type = desertion which = -1 value = 3000 }
				command = { type = naval value = -500 }
         }
}

#Uskok Piracy#
event = {

          id = 93224
          trigger = {
			exists = TUR
			NOT = { exists = CRO }
			NOT = { 
				OR = {
					vassal = { country = HUN country = VEN } 
					vassal = { country = VEN country = HUN } 
				}
			}
			neighbour = HUN #needed?
			OR = {
				owned = { province = 365 data = HUN }
				owned = { province = 366 data = HUN }
				owned = { province = 367 data = HUN }
				owned = { province = 368 data = HUN }
				owned = { province = 369 data = HUN }
			}	
			NOT = {
				OR = {
					owned = { province = 365 data = HAB }
					owned = { province = 366 data = HAB }
					owned = { province = 367 data = HAB }
					owned = { province = 368 data = HAB }
					owned = { province = 369 data = HAB }
				}
			}	
			NOT = { event = 93219 }
			NOT = { event = 93222 }
		}
          random = no
          country = VEN
          name = "EVENTNAME93219"
          desc = "EVENTHIST93224"
          style = 3

          date = { day = 1 month = january year = 1614 }
	    offset = 200
          deathdate = { day = 1 month = january year = 1616 }

          action_a = {
	                  name = "ACTIONNAME93222A"
				command = { type = relation which = TUR value = 50 }
				command = { type = relation which = HUN value = -200 }
				command = { type = relation which = SAV value = 30 }
				command = { type = relation which = FRA value = 30 }
				command = { type = relation which = SPA value = -30 }
				command = { type = relation which = NAP value = -30 }
				command = { type = relation which = MAN value = -30 }
				command = { type = casusbelli which = CRO value = 36 }
				command = { type = stability value = -1 }
				command = { type = revolt which = 368 } #Senj is in Istria Province
				command = { type = revolt which = 368 }
	    }
          action_b = {
                        name = "ACTIONNAME93222B"
				command = { type = relation which = TUR value = -200 }
				command = { type = relation which = HUN value = 50 }
				command = { type = trade value = -1000 }
				command = { type = treasury value = -100 }  #Not enough to bankrupt them
				command = { type = inflation value = 5 }  #bad for trade
				command = { type = merchants value = -2 } #can this go negative??
				command = { type = sleepevent which = 93220 }
	   }
}

#The Uskok resettlement#
event = {

          id = 93225
          trigger = {
			event = 93224 #CRO target of uskok event
			event = 93220 #VEN declared war
			NOT = { war = { country = VEN country = CRO } }
			OR = { 	
				owned = { province = 368 data = VEN }	#Istria	
			 	owned = { province = 365 data = VEN }	#Dalmatia	
				}
		}
          random = no
          country = HUN
          name = "EVENTNAME93221"
          desc = "EVENTHIST93225"
          style = 3

          date = { day = 1 month = january year = 1614 }
          deathdate = { day = 1 month = january year = 1622 }

          action_a = {
                        name = "ACTIONNAME93221A"
				command = { type = provincemanpower which = 366 value = 2 } #Croatia
				command = { type = relation which = VEN value = 50 }
				command = { type = relation which = TUR value = 30 }
				command = { type = manpower value = -5 }
				command = { type = desertion which = -1 value = 3000 }
				command = { type = naval value = -500 }
          }
} 






